﻿using System;
using System.Globalization;

namespace IronBefunge.Core.InstructionHandlers
{
	internal sealed class DuplicateInstructionHandler : IInstructionHandler
	{
		public void Handle(ExecutionContext context)
		{
			context.EnsureStack(1);
			context.Values.Push(context.Values.Peek());
		}
	}
}
